package com.jiazhong.boot.mybatis.plus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiazhong.boot.commons.bean.plus.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DeptMapper extends BaseMapper<Dept> {

    @Select("select * from DEPT where deptno=#{id}")
    Dept findById(Integer id);
}
